﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp4
{
    public enum Vagertabletype
    {
        走路,
        跑酷,
        跳舞
    }
    class CCRobot : Robot
    {
        private Vagertabletype vagertable;

        public Vagertabletype Vagertable
        {
            get { return this.vagertable; }
            set { this.vagertable = value; }
        }

        public CCRobot(string name, Robottype type, Vagertabletype vagertable) : base(name, type)
        {
            this.vagertable = vagertable;
        }
        public override void Working()
        {
            Console.WriteLine("客人：{0},请输入你想做的动作：{1}", this.Name, this.vagertable);
        }
    }
}
